package vo;

import java.util.List;

public class TreeNodeVO {
	
	private int id;
	private String name, code, img;
	private List<TreeNodeVO> child;
	private boolean opened;
	
	public void setId(int id) {
		this.id = id;
	}
	
	public int getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setChild(List<TreeNodeVO> child) {
		this.child = child;
	}

	public List<TreeNodeVO> getChild() {
		return child;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCode() {
		return code;
	}

	public void setOpened(boolean opened) {
		this.opened = opened;
	}

	public boolean isOpened() {
		return opened;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getImg() {
		return img;
	}
}
